package 栈和队列.队列实现栈;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2023/1/29 9:51
 * @description:
 * @version:
 */
public class Solution {
    public static void main(String[] args) {
        MyStack myStack = new MyStack();
        myStack.push(1);
        myStack.push(2);
        myStack.push(3);
        System.out.println(myStack.pop());
    }
}
